package com.shigu.mo.bo.requests;

import org.hibernate.validator.constraints.CreditCardNumber;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 保存信用卡
 */
public class UpCreditCardRequest extends MoRequest{
    @NotEmpty(message = "信用卡号不能为空")
    @CreditCardNumber(message = "信用卡卡号错误，请核对")
    private String creditCard;//信用卡号

    @NotEmpty(message = "请选择开户行")
    private String bankName;//开户行名称

    public String getCreditCard() {
        return creditCard;
    }

    public void setCreditCard(String creditCard) {
        this.creditCard = creditCard;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }
}
